home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 3
/
CU Amiga Magazine's Super CD-ROM 03 (1996)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1996-09].iso
/
misc
/
readers_utils
/
asmextras
/
wbtofront.s
< prev
next >
Wrap
Text File
|
1992-09-02
|
667b
|
41 lines
*Wb To Front
*By Mark Retallack
* ensure case dependent and debug
opt c+,d+
* firstly get the required constants and macros
include intuition/intuition_lib.i
include exec/exec_lib.i
*open the intuition library
lea intname(pc),a1
moveq #0,d0 dont care which version
CALLEXEC OpenLibrary
tst.l d0
beq goawayfast if didnt open
move.l d0,_IntuitionBase store lib pointer
*call command
CALLINT WBenchToFront
*close Intuition library
move.l _IntuitionBase,a1
CALLEXEC CloseLibrary
goawayfast
moveq #0,d0
rts
* strings here
intname INTNAME name of intuition lib
* variables here
_IntuitionBase dc.l 0 for int library